package com.css.fxfzysx.modules.lifeline.service;

import com.css.fxfzysx.base.response.RestResponse;
import com.css.fxfzysx.modules.lifeline.param.LifelineFoundationLibraryParam;
import com.css.fxfzysx.modules.lifeline.param.updateBasicLibraryParam;
import com.css.fxfzysx.modules.lifeline.vo.basic.DestructiveStateVo;
import org.springframework.web.multipart.MultipartFile;
import java.util.HashMap;
import java.util.List;

public interface LifelineFoundationLibraryService {
    RestResponse upload(Integer type,String province,String city,String county,MultipartFile file) throws Exception;

    HashMap<String, Object> page(LifelineFoundationLibraryParam param,int page,int size);

    DestructiveStateVo getByTypeAndLifelineIdAndIntensity(String id, Integer type, Integer range);

    void updateById(List<updateBasicLibraryParam> list);

    void deleteByTypeAndIds(Integer type,String ids);

    Integer getRole();
}
